import time


en = input("请输入要重复的内容:")
er = int(input("请输入重复次数："))
es = float(input("请输入间隔时间："))


 
def print_message():
    print(en)
 
repeat_count = 0
max_repeat_count = er
 
while repeat_count < max_repeat_count:
    print_message()
    time.sleep(es)
    repeat_count += 1
 
print("已达到最大重复次数，程序结束。")